<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
	xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:s="/struts-tags"
	xmlns:sj="/struts-jquery-tags">
	<jsp:directive.page language="java"
		contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" />

	<center>
		<h1>Crear documentos</h1>
	</center>
	<s:actionmessage />
	<s:fielderror />
	<div class="col-lg-10 col-lg-offset-1">
		<div class="well">
			<s:form
				action="%{#request.contextPath}/documento/gestionar-documento"
				method="post" cssClass="form-horizontal">
				<div class="form-group has-success">
					<table class="col-lg-offset-1">
						<tr>
							<td><h4>Nombre del documento:</h4></td>
							<td><div class="col-lg-10">
									<s:textfield id="txtNombre" name="model.nombre"
										cssClass="form-control input-lg" />
								</div></td>
						</tr>
						<tr>
							<td><h4>Fecha de creación:</h4></td>
							<td><sj:datepicker name="model.fechaCreacion" ></sj:datepicker>
							</td>
						</tr>
					</table>
				</div>
			</s:form>
		</div>
	</div>

	<div class="col-lg-10 col-lg-offset-1">
		<div class="well">
			<div id="section1"></div>
			<script>
				CKEDITOR
						.appendTo(
								'section1',
								{
									uiColor : '#0101DF'
								},
								'<h3>Bienvenido al Editor Semiprofesional de HTML</h3> <br/> <h5>Inserta tu código aqui</h5>');
			</script>
		</div>
	</div>
</jsp:root>